<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<div style="height: 189px; width: 1280px"  id="wrap">
    <div id="header" style="height: 177px; left: 0px;">
        <h1 style="height: 79px;" id="logo"><br></br>
        </h1>
        <html:form action="loginAction?method=post" styleClass="searchform">
            <table>
                <tr>
                    <td colspan="4" style="color:#f00">
                        <logic:present name="failure">
                            <bean:message key="error.login"/>
                        </logic:present>
                    </td>
                </tr>
                <tr>

                    <td>
                        Usuario:                      
                    </td>
                    <td>
                        <html:text name="Usuario" property="nombreUsuario"/>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        Password:
                    </td>
                    <td>
                        <html:password name="Usuario" property="password"/>
                    </td>
                    <td></td>
                </tr>
                <td></td>
                <td>
                    <html:submit value="conectar"/>
                </td>
                </tr>
            </table>
        </html:form>
    </div>
</div>


